﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AddMethod
{
	public class B
	{
	}
	public class B1 : B
	{
		public B1(string food)
		{
			_eatFood = food;
		}

		private string _eatFood;
		public string EatFood
		{
			get { return _eatFood; }
			set { _eatFood = value;}
		}

	}
	public class B2 : B
	{
	}
}

